package com.dotc.patterndemo.structure.decorator;

import android.util.Log;

import com.dotc.patterndemo.entity.Bag;

/**
 * 防伪功能
 */
public class CheckedBagDecorator extends BagDecorator {

    public CheckedBagDecorator(Bag bag) {
        super(bag);
    }
    public void pack(){
        super.pack();
        checked();//打印防伪标识
    }

    private void checked() {
       // Log.d("LUO","")
        Log.d("LUO","------");
        Log.d("LUO","打印防伪标识");
    }
}
